package viroyal.com.base.face.rsp;

import com.google.gson.annotations.SerializedName;
import com.suntiago.network.network.rsp.BaseResponse;

import java.util.List;

import viroyal.com.base.face.bean.DeviceInfo;
import viroyal.com.base.net.entity.ModuleEntity;

/**
 * Created by bz on 2018/5/10.
 */

public class DeviceInfoRsp extends BaseResponse {
  @SerializedName("extra")
  public ExtraBean extra;

  /**
   "extra": {
   "dpi": "sss",
   "nfc": 1,
   "check": [
   "1",
   "2",
   "3"
   ],
   "module": [
   "notice",
   "album"
   ],
   "is_camera": 0,
   "is_offline": 0,
   "width_val": null,
   "height_val": null,
   "is_infrared": null,
   "is_camera_position": null,
   "is_around_camera": null,
   "verification_mode": [
   "1"
   ]
   }
   */
  public class ExtraBean {

    @SerializedName("dpi")
    public String dpi;

    @SerializedName("nfc")
    public int nfc;

    @SerializedName("check")
    public List<String> check;

    @SerializedName("module")
    public List<ModuleEntity> module;

    @SerializedName("is_camera")
    public int is_camera;

    @SerializedName("is_offline")
    public int is_offline;

    @SerializedName("width_val")
    public int width_val;

    @SerializedName("height_val")
    public int height_val;

    /**
     * 是否支持红外 1：支持 0：不支持
     */
    @SerializedName("is_infrared")
    public int is_infrared;

    /**
     * 摄像头id 0：前置 1：后置
     */
    @SerializedName("is_camera_position")
    public int is_camera_position;

    /**
     * 摄像头位置(方向) 1：上 2：右 3：下 4：左
     */
    @SerializedName("is_around_camera")
    public int is_around_camera;

    @SerializedName("verification_mode")
    public List<String> verification_mode;




//    public DeviceInfo device_info;
//    public List<Apps> device_apps;
  }



}
